import { IFAction, ActionType } from './reducer'

export const updateContent = (content: string, type: ActionType): IFAction => {
    return { content, type }
}

export const clearContent = (type: ActionType): IFAction => {
    return { content: '', type }
}
